package com.gugee.ins.common.dal.service.mark.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gugee.ins.common.dal.mapper.mark.InsRkBrandWeekMapper;
import com.gugee.ins.common.dal.service.mark.InsRkBrandWeekDao;
import com.gugee.ins.common.model.mysql.mark.InsRkBrandWeek;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


/**
 * InsMarkBrandDay dao
 * @author Huangxin
 */
@Slf4j
@Service
public class InsRkBrandWeekDaoImpl extends ServiceImpl<InsRkBrandWeekMapper, InsRkBrandWeek> implements InsRkBrandWeekDao {
    /**
     * 生成品牌周榜
     * @param dateCode
     * @param category
     * @param limitCount
     */
    @Override
    public void insertRkBrandWeek(int dateCode, String category,int limitCount) {
        baseMapper.insertRkBrandWeek(dateCode,category,limitCount,System.currentTimeMillis() / 1000);
    }
}
